﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Contract;
using System.Data.SqlClient;
using System.Data;
using System.Windows.Forms;
using System.ServiceModel;

namespace client
{
    [ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Reentrant)]
    public class CallBack : ICallBack
    {
        public delegate void del(MyFile[] fl);
        public static del handler;

        public void SendMessageToClient(String msg)
        {
            MessageBox.Show(msg);
        }

        public void CallBackPushFileList(MyFile[] fl)
        {
            handler(fl);
        }
    }
}
